<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>

<template>
  <h1>EL-按钮组件</h1>
  <el-button>按钮</el-button>
  <el-button type="primary" disabled>蓝按钮</el-button>
  <el-button type="success" plain>绿按钮</el-button>
  <el-button type="warning" round>黄按钮</el-button>
  <el-button type="danger" circle>红按钮</el-button>
  <el-button type="info">灰按钮</el-button>
  <br>
  <div>
    <el-button :icon="Search" circle/>
    <el-button type="primary" :icon="Edit" circle/>
    <el-button type="success" :icon="Check" circle/>
    <el-button type="info" :icon="Message" circle/>
    <el-button type="warning" :icon="Star" circle/>
    <el-button type="danger" :icon="Delete" circle/>
  </div>

  <a href="https://www.baidu.com">
    <el-button link type="success">达内</el-button>
  </a>
</template>

<style scoped>

</style>